<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			body{
				/*background: pink;*/
			}
			
			*{
				padding:0;
				margin: 0;
			}
			
			img{
				vertical-align: top;
			}
			
			.box{
				width: 400px;
				height: 225px;
				margin: 100px auto;
				overflow: hidden;
				position: relative;
			}
			
			.box>img{
				width: 100%;
			}
			.kn{
				color: #fff;
				position: absolute;
				top: 0;
				left: 0;
				transform-origin: left top;
				transform: rotateZ(90deg);
				transition: 1s;
			}
			
			.xl{
				color: #fff;
				position: absolute;
				bottom: 0;
				right: 0;
				transform-origin: right bottom;
				transform: rotateZ(90deg);
				transition: 1s;
			}
			
			.box:hover .xl{
				transform: rotateZ(0deg);
			}
			
			.box:hover .kn{
				transform: rotateZ(0deg);
			}
		</style>
	</head>
	<body>
		<div class="box">
			<img src="images/mzt.jpg"/>
			<div class="kn">
				<p style="font-size: 20px;color: orange;">柯南</p>
				<p>身高:104cm</p>
				<p>年龄:7岁</p>
				<p>爱好:推理</p>
			</div>
			<div class="xl">
				<p style="font-size: 20px;color: orange;">毛利兰</p>
				<p>身高:160cm</p>
				<p>年龄:16岁</p>
				<p>爱好:空手道</p>
			</div>
		</div>
	</body>
</html>
